package com.guava;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collection;
import java.util.Collections;

/**
 * Created by fangjicai on 2020/10/28.
 */

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping
    public Object test(){
        return Collections.singletonMap("success",true);
    }
}
